package com.hsy.crm.web.domain.entity;

import com.hsy.crm.web.domain.cm.Validate;

import javax.persistence.Column;
import javax.persistence.Table;

@Table(name="t_receipt_order_account")
public class ReceiptOrderAccount extends BaseEntity {

    @Validate
    @Column(length = 20)
    private Long receiptOrderId;

    @Validate
    @Column(length = 20)
    private Long accountId;

    @Validate
    @Column(length = 20)
    private Long receiptMoney;

    @Column(length = 30)
    private String remarks;

    public Long getReceiptOrderId() {
        return receiptOrderId;
    }

    public void setReceiptOrderId(Long receiptOrderId) {
        this.receiptOrderId = receiptOrderId;
    }

    public Long getAccountId() {
        return accountId;
    }

    public void setAccountId(Long accountId) {
        this.accountId = accountId;
    }

    public Long getReceiptMoney() {
        return receiptMoney;
    }

    public void setReceiptMoney(Long receiptMoney) {
        this.receiptMoney = receiptMoney;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }
}
